package com.xzh.common.domain.enums;

import lombok.Getter;

/**
 * @Author: zhiHong
 * @CreateTime: 2024-01-27 1:37
 * @Description: 状态码枚举
 */
@Getter
public enum HttpStatusEnum {
    UNKNOWN_EXCEPTION(40000, "系统参数错误"),
    INVALID_EXCEPTION(40001, "参数校验异常");

    private final int code;

    private final String msg;

    HttpStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}